            <?php if(empty($plandetails)) { redirect(base_url()); } ?>
			<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
			<div class="tp_planinfo">
				<p><?php echo $this->session->flashdata('plan_message');?>  </p>
			</div>
			  <?php
				$userPlan = 0;
				if(isset($this->session->userdata['ts_uid'])) {
					$uid = $this->session->userdata['ts_uid'];
					$userDetail = $this->DatabaseModel->access_database('ts_user','select','',array('user_id'=>$this->session->userdata('ts_uid')));
					$userPlan = $userDetail[0]['user_plans'];
				}

				?>
				<div class="tp_cartdiv">
					<div class="row">
					 <?php foreach($plandetails as $solo_plans) {
				       $uniqId = $solo_plans['plan_id'];
				     ?>
					 <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
						<div class="tp_pricing_div <?php echo ( $uniqId == $userPlan ) ? 'active_tbl' : '' ; ?>">
							<div class="tp_pricing_heading">
								<h4><?php echo $solo_plans['plan_name'];?></h4>
							</div>
							<div class="tp_table_price"> <?php echo $this->ts_functions->getsettings('portalcurreny','symbol');?><?php echo $solo_plans['plan_amount'];?><span><?php echo $solo_plans['plan_duration'];?></span> </div>
						  <?php if( $solo_plans['plan_features'] != '' ) {
						$featureArr = explode(PHP_EOL, $solo_plans['plan_features']); ?>
							<ul>
								<?php for($i=0;$i<count($featureArr);$i++) {
							         echo '<li>'.$featureArr[$i].'</li>';
							    } ?>	
							</ul>
							<?php } ?>
							<div class="tp_pricing_footer">
							<?php if( $uniqId == $userPlan ) { ?>
								<a class="tp_btn tp_disabled_btn"> <?php echo $this->ts_functions->getlanguage('upgradebtn','commontext','solo'); ?> </a>
						     <?php } else { ?>
							    <a href="<?php echo $basepath;?>shop/add_to_cart/plan/<?php echo $solo_plans['plan_id'];?>" class="tp_btn"> <?php echo $this->ts_functions->getlanguage('upgradebtn','commontext','solo'); ?> </a>
							 
							 <?php } ?>
							</div>
						</div>
					 </div>
				 <?php } ?>
					 
				 </div>  
				</div>
			</div>
		</div>
	</div>
</div>